import request from '@/utils/request'

// 查询列表
export function listoutPut(query) {
  return request({
    url: '/outPut/in/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function getoutPut(stockInId) {
  return request({
    url: '/outPut/in/' + stockInId,
    method: 'get'
  })
}


// 新增
export function addoutPut(data) {
  return request({
    url: '/outPut/in',
    method: 'post',
    data: data
  })
}

// 修改
export function updateoutPut(data) {
  return request({
    url: '/outPut/in',
    method: 'put',
    data: data
  })
}
// 提交
export function submitoutPut(data) {
  return request({
    url: '/outPut/in/submit',
    method: 'post',
    data: data
  })
}

// 删除
export function deloutPut(stockInIds) {
  return request({
    url: '/outPut/in/' + stockInIds,
    method: 'delete'
  })
}
